//
//  COUserInfoResponseModel.swift
//  CocoProject
//
//  Created by Vill on 2023/11/6.
//

import UIKit

struct COUserInfoResponseModel: HandyJSON {
    var userResponse:COCurUserInfoModel = COCurUserInfoModel()
    var role: Int = 0
    var token: String = ""
    var rcToken: String = ""
    var rcUserId: String = ""
    var userId: String = ""
}

struct COCurUserInfoModel: HandyJSON {
    var id: String = ""
    var userId: String = ""
    var nickName: String = ""
    var age: Int = 0
    var email: String = ""
    var status: Int = 0
    var profilePhoto: String = ""
    var lastLoginTime: String = ""
    var balance:Int = 0
    var hobbies:String = ""
    var summary:String = ""
    var registrationTime: String = ""
    var gender: Int = 0
    var birthday: String = ""
    var loginId : String = ""
    var growth  : String = ""
    var leve    : String = ""
}

struct COQueryUserModel: HandyJSON {
    var user:COCurUserInfoModel = COCurUserInfoModel()
}

struct COFollowCountModel: HandyJSON {
    var count:Int = 0
}


struct ElectionResponseModel: HandyJSON {
    var worksResponse : ElectionModel = ElectionModel()
}


struct ElectionModel: HandyJSON {
    var streamerId : String = ""     //主播id
    var aliWorksUrl : String = ""    //图片路径
    var type : Int = 0               //图片0、视频1
    var price : Int = 0              //价格
    var summary : String = ""        //假视频
    var rongyunId : String = ""      //融云id
    var streamerName : String = ""   //主播名称
}
